package models

type SysQuestionBankLink struct {
	Model
	LinkType        int    `json:"link_type" gorm:"tinyint(1);comment:关联类型 1-网课 2-题库练习题 3-试卷"`
	LinkId          int    `json:"link_id" gorm:"int(5);index;comment:关联ID link_type=1 关联ID为网课主键ID =2关联ID为题库主键ID =3 关联ID为试卷主键ID"`
	ChapterId       int    `json:"chapter_id" gorm:"int(5);index;comment:子章节ID"`
	QuestionBankStr string `json:"question_bank_str" gorm:"varchar(255);comment:关联数据"`
	ModelTime
}

func (SysQuestionBankLink) TableName() string {
	return "sys_question_bank_link"
}
